import request from "@/utils/request";

export function queryColumnMysqlJavaConfigListByConditionMap2(data) {
  return request({
    url: 'api/efficiencyTools/columnMysqlJavaConfig/queryColumnMysqlJavaConfigListByConditionMap2',
    method: 'get',
    params: data,
  })
}

export function downloadDataToExcel(data) {

  return request({
    url: 'api/efficiencyTools/columnMysqlJavaConfig/downloadColumnMysqlJavaConfigListByCondition',
    method: 'get',
    params: data,
    responseType: 'blob'
  })
}


export function queryColumnMysqlJavaConfigByCondition(data) {
  return request({
    url: 'api/efficiencyTools/columnMysqlJavaConfig/queryColumnMysqlJavaConfigByCondition',
    method: 'get',
    params: data,
  })
}


export function updateColumnMysqlJavaConfig(data) {
  return request({
    url: 'api/efficiencyTools/columnMysqlJavaConfig/updateColumnMysqlJavaConfig',
    method: 'post',
    data: data,
  })
}

export function saveColumnMysqlJavaConfigSingleLineData(data) {
  return request({
    url: 'api/efficiencyTools/columnMysqlJavaConfig/saveColumnMysqlJavaConfigSingleLineData',
    method: 'post',
    data: data,
  })
}

export function deleteColumnMysqlJavaConfigByIntegerIdList(data) {
  return request({
    url: 'api/efficiencyTools/columnMysqlJavaConfig/deleteColumnMysqlJavaConfigByIntegerIdList',
    method: 'delete',
    params: data,
  })
}

export function insertByExcel(data) {
  return request({
    url: '/api/efficiencyTools/columnMysqlJavaConfig/insertByExcel',
    method: 'post',
    data: data
  })
}
